﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Step3_2_4 : CtrlStep
{
    public GameObject jiemian;
    
    public ClickBox clickBox;
    public Animator redLight;
    public override void Init()
    {
        base.Init();
        jiemian.gameObject.SetActive(false);
        clickBox.gameObject.SetActive(true);
    }

    public override void UpdateAction()
    {
        base.UpdateAction();
        if (clickBox.isClick)
        {
            redLight.enabled = true;
            isOver = true;
        }
    }



}
